<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回经过仿射变换后的图像，剪切区域可选</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.image2wbmp.html">« image2wbmp</a></li>
      <li style="float: right;"><a href="function.imageaffinematrixconcat.html">imageaffinematrixconcat »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.image.html">GD 和图像处理 函数</a></li>
    <li>返回经过仿射变换后的图像，剪切区域可选</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.imageaffine" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imageaffine</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">imageaffine</span> &mdash; <span class="dc-title">返回经过仿射变换后的图像，剪切区域可选</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.imageaffine-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imageaffine</strong></span>(<span class="methodparam"><span class="type">resource</span> <code class="parameter">$image</code></span>, <span class="methodparam"><span class="type">array</span> <code class="parameter">$affine</code></span>, <span class="methodparam"><span class="type">array</span> <code class="parameter">$clip</code><span class="initializer"> = ?</span></span>): <span class="type">resource</span></div>

  <p class="para rdfs-comment">

  </p>

  <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.imageaffine-parameters">
  <h3 class="title">参数</h3>
  <dl>
   <dt>

<code class="parameter">image</code></dt>
<dd>
<p class="para">由图象创建函数(例如<span class="function"><a href="function.imagecreatetruecolor.html" class="function">imagecreatetruecolor()</a></span>)返回的 
<span class="classname"><a href="class.gdimage.html" class="classname">GdImage</a></span> 对象。</p></dd>

   
    <dt>
<code class="parameter">affine</code></dt>

    <dd>

     <p class="para">
      数组，其中键为 0 至 5 的数字。
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">clip</code></dt>

    <dd>

     <p class="para">
      数组，其中键为 &quot;x&quot;，&quot;y&quot;，&quot;width&quot; 和 &quot;height&quot;。
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.imageaffine-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
    成功则返回仿射变换后的图像， 或者在失败时返回 <strong><code>false</code></strong>.
  </p>
 </div>


</div></div></div></body></html>